Problem Note 59258: A PROC REPORT spanning header incorrectly contains the PRETEXT/POSTTEXT of a column heading
A PROC REPORT spanning header might incorrectly contain the PRETEXT/POSTTEXT style attributes of a column heading underneath it. The attributes most likely come from the right-most column under the spanning header.
Click the Full Code tab to see sample code that demonstrates the incorrect behavior.
There is currently no circumvention for this problem.
Refer to Problem Note 56398, "Background colors might not be applied correctly to headings in PROC REPORT output", for a related issue.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | Solaris for x64 | 9.4 TS1M1 | 9.4 TS1M4 |
Linux for x64 | 9.4 TS1M1 | 9.4 TS1M4 |
HP-UX IPF | 9.4 TS1M1 | 9.4 TS1M4 |
64-bit Enabled Solaris | 9.4 TS1M1 | 9.4 TS1M4 |
64-bit Enabled AIX | 9.4 TS1M1 | 9.4 TS1M4 |
Windows 7 Ultimate x64 | 9.4 TS1M1 | 9.4 TS1M4 |
Windows 7 Professional x64 | 9.4 TS1M1 | 9.4 TS1M4 |
Windows 7 Professional 32 bit | 9.4 TS1M1 | 9.4 TS1M4 |
Windows 7 Home Premium x64 | 9.4 TS1M1 | 9.4 TS1M4 |
Windows 7 Home Premium 32 bit | 9.4 TS1M1 | 9.4 TS1M4 |
Windows 7 Enterprise x64 | 9.4 TS1M1 | 9.4 TS1M4 |
Windows 7 Enterprise 32 bit | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Std | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows Server 2008 R2 | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows Server 2008 | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows 8 Pro x64 | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows 8 Pro 32-bit | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft® Windows® for x64 | 9.4 TS1M1 | 9.4 TS1M4 |
z/OS 64-bit | 9.4 TS1M1 | 9.4 TS1M4 |
Windows 7 Ultimate 32 bit | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows 10 | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M1 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M1 | 9.4 TS1M4 |
z/OS | 9.4 TS1M1 | 9.4 TS1M4 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The posttext of "Z" is incorrectly placed in the spanning header above the Height and Weight columns.
Click the
Results tab to view the incorrect results.
proc report data=sashelp.class;
column name ("spanning header" sex age ) (height weight );
define height / "height" style(header)={just=l POSTTEXT="Y"};
define weight / "weight" style(header)={just=l POSTTEXT="Z"};
run;
Alfred |
M |
14 |
69 |
112.5 |
Alice |
F |
13 |
56.5 |
84 |
Barbara |
F |
13 |
65.3 |
98 |
Carol |
F |
14 |
62.8 |
102.5 |
Henry |
M |
14 |
63.5 |
102.5 |
James |
M |
12 |
57.3 |
83 |
Jane |
F |
12 |
59.8 |
84.5 |
Janet |
F |
15 |
62.5 |
112.5 |
Jeffrey |
M |
13 |
62.5 |
84 |
John |
M |
12 |
59 |
99.5 |
Joyce |
F |
11 |
51.3 |
50.5 |
Judy |
F |
14 |
64.3 |
90 |
Louise |
F |
12 |
56.3 |
77 |
Mary |
F |
15 |
66.5 |
112 |
Philip |
M |
16 |
72 |
150 |
Robert |
M |
12 |
64.8 |
128 |
Ronald |
M |
15 |
67 |
133 |
Thomas |
M |
11 |
57.5 |
85 |
William |
M |
15 |
66.5 |
112 |
A PROC REPORT spanning header might incorrectly contain the PRETEXT/POSTTEXT style attributes of a column heading underneath it.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2016-11-17 10:54:39 |
Date Created: | 2016-10-28 09:57:25 |